﻿using System;
using System.ComponentModel.DataAnnotations;

namespace ProjectFootball.MVC.Areas.MatchArea.Models
{
    public class MatchDataModel
    {
        public Guid MatchGuid { get; set; }
        public Guid ApprovalGuid { get; set; }

        [Display(Name = "Match date")]
        public DateTime MatchDate { get; set; }

        [Display(Name = "Competition")]
        [Required]
        public Guid CompetitionGuid { get; set; }

        [Display(Name = "Venue")]
        public Guid? VenueGuid { get; set; }

        public long? Attendance { get; set; }

        [Display(Name = "Team 1")]
        [Required]
        public Guid Team1Guid { get; set; }

        [Display(Name = "Half time")]
        public short? Team1HT { get; set; }

        [Display(Name = "Full time")]
        public short? Team1FT { get; set; }

        [Display(Name = "Extra time - Half time")]
        public short? Team1ETHT { get; set; }

        [Display(Name = "Extra time - Full time")]
        public short? Team1ETFT { get; set; }

        [Display(Name = "Penalties")]
        public short? Team1Pens { get; set; }

        [Display(Name = "Team 2")]
        [Required]
        public Guid Team2Guid { get; set; }

        [Display(Name = "Half time")]
        public short? Team2HT { get; set; }

        [Display(Name = "Full time")]
        public short? Team2FT { get; set; }

        [Display(Name = "Extra time - Half time")]
        public short? Team2ETHT { get; set; }

        [Display(Name = "Extra time - Full time")]
        public short? Team2ETFT { get; set; }

        [Display(Name = "Penalties")]
        public short? Team2Pens { get; set; }
    }
}